package org.hcyspartnoc.luoxin.common.exception.searchtopic;

import org.hcyspartnoc.luoxin.common.exception.BaseException;

public class QuestionBankException extends BaseException {
    public static final String REQUEST_FAILED = "请求发送失败";
    public static final String SERVER_ERROR = "服务端错误";
    public static final String Bank_FORMAT_ERROR = "题库格式错误";

    public static final String Bank_FILE_TYPE_ERROR = "题库文件类型错误";

    public static final String BANK_ACCESS_DENIED = "题库访问被拒绝";
    public static final String BANK_TIMEOUT = "题库请求超时";
    public static final String BANK_PARSE_ERROR = "题库解析错误";
    public static final String BANK_VERSION_UNSUPPORTED = "题库版本不支持";
    public static final String BANK_EMPTY = "题库为空";
    public static final String BANK_NAME_EMPTY="题库名字不能为空";
    public static final String BANK_ID_ERROR="题库id错误";

    public static final String BANK_NAME_ERROR="题库名字不能含有特殊字符";

    public QuestionBankException(String msg) {
        super(msg);
    }

    public QuestionBankException(String msg, int code) {
        super(msg, code);
    }
}
